/*
 * @Author: 啊彪
 * @Date: 2021-05-28 19:30:01
 * @LastEditors: 啊彪
 * @LastEditTime: 2021-05-28 19:32:06
 * @Description: 付费人数
 * @FilePath: \boss\src\model\stats\payPeople.model.ts
 */
import mongoose from 'mongoose';

const Schema = mongoose.Schema;
const PayPeopleSchema: mongoose.Schema = new Schema({
    roleId: { type: Number, display: '角色ID', index: true },
    date: { type: String, display: '付费日期', index: true },
}).index({ roleId: 1, date: 1 });

const PayPeople = mongoose.model('PayPeople', PayPeopleSchema);
export default PayPeople;